Progress Report

نویسنده

  • Jamie Webb
چکیده

ion-neutral The core will be ‘mid-level’: it will be platform independent, garbage-collected, etc., but will not provide direct support for higher-level abstractions. Lower-level notions can be implemented as transforms directly into the target language, and higher-level abstractions can be implemented as transforms into simpler objects. Portable As noted above, low-level features will be independent of the core. In addition, the code generation interfaces will be made as narrow as possible to minimise the work required to implement a new target. The build environment is likely to consist of a single command which takes a directory full of source files and compiles them (incrementally if possible) into a package. Also specified will be a set of standard search paths for packages on each platform, and standard mechanisms for querying package versioning, capability, and dependency information. A complete standard library specification will not be given; it is assumed that one would exist were the language to come into production use. Compatible The easiest way to ensure compatibility would be to specify C calling conventions, however this would preclude e.g. compiling to bytecode targets. Further, the C and even C++ calling conventions are in some places inadequate for an efficient implementation. Calls across language boundaries are in general done using wrappers which translate calling conventions and types as necessary. These are usually created by hand, or automatically using programs such as SWIG. META2 programs should have no need for this since the transformation system allows wrapper code to be generated seamlessly as part of the build should it be desired. Parsable The nature of the transformation system means that batch-mode parsing of META2 code can easily be done using META2, but this will not be appropriate for real-time parsing as is necessary for syntax highlighting. However, the main syntax invariant imposed by the language is that square brackets (used to delimit constructions) must always nest correctly. Therefore, even though a simplistic parser may not always be able to discern or parse the grammar used within a given construction, it is guaranteed to be able to recover and continue parsing the rest of the code. 3 Compiler design and implementation decisions The chief aim of this project is the design of the META2 language and core library interfaces. The implementation is a secondary task intended primarily to demonstrate that the language is implementable. As such, my intention for the implementation is to minimise the work necessary to produce a working compiler, so as to leave as much time as possible to devote to the language design. Based on this principle, I have made the following decisions in the design of my implementation: 3.1 Evolutionary design Since this is a prototype compiler for an experimental language, it will not be appropriate to follow the classical specify-design-code software development methodology. The design of META2 blurs the usual distinction between the language, its compiler, and its libraries, and my usage of the object model during implementation will represent important feedback as it its suitability. Were I to attempt to design the system completely before beginning its implementation, I would have no way to assess its quality. Thus, my primary up-front design effort is for a modular framework which will allow me to add functionality incrementally, developing the language specification as I go.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Bilateral Staged Total Hip Replacement and the Natural Progress of an Untreated Case of Developmental Dysplasia (Dislocation) of the Hip: A Clinical Case Report by the Surgeon and the Patient

The natural history of an untreated case of a Developmental Dysplasia (Dislocation) of the Hip (DDH) associated with multiple congenital abnormalities is reported in a 55-years-old man. The patient’s complaints and the varieties of the typical manifestations emerged in other parts of the body throughout the life are reviewed and discussed as comorbidities of a dysplastic condition. Two-stage bi...

متن کامل

A Case Report of Sarcoma Oving

A l4 - year - old male patient with ewing sarcoma is presented and discussed, specially in respect of lo­calization and progress of the tumor.  Radiologic, bioptic, treatment and complica­tions of the disease are also discussed. 

متن کامل

Childhood pemphigus vulgaris: a case report

Pemphigus vulgaris (PV) is a potentially fatal autoimmune mucocutaneous blistering disease. Although PV occurs predominantly in adulthood, in the 3rd to 5th decades of life, there have rarely been reports of childhood cases which are often misdiagnosed. It presents as oral blisters that rupture rapidly and progress to painful erosions. Most patients develop cutaneous flaccid blisters that ruptu...

متن کامل

Wiskott-Aldrich Syndrome (WAS): A Case Report in Mauritius and Review

Wiskott-Aldrich is an X-lined recessive disorder typically characterized by thrombocytopenia, eczema and recurrent infections. We report the four year treatment progress of a six year old boy who initially presented with vesicular lesions over the trunk, upper and lower extremities and face and blood tinged stools at the age of 2 weeks. From the family pedigree, there were two suspected cases t...

متن کامل

Effects of CSR in Linear Collider Systems: A Progress Report

In this report we have followed the Dugan format as much as possible. To make the progress report self-contained we have inserted the original four page proposal into the Project Overview Section (adding only several references that should have been there). Since this is a DOE progress report we have not included a “Broader Impact” section. The “Results of Prior Research” contains our progress ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004